﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebsiteClient.Models;

namespace WebsiteClient.DB
{
    public class RegistrationDB
    {
        static ApplicationDbContext db = new ApplicationDbContext();
        public void AddRegistration(Registration reg)
        {
            db.Registrations.Add(reg);
            db.SaveChanges();
        }
    }
}